package com.young.coupon.calculation.service;

import com.young.coupon.calculation.api.beans.ShoppingCart;
import com.young.coupon.calculation.api.beans.SimulationOrder;
import com.young.coupon.calculation.api.beans.SimulationResponse;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @description：
 * @author: yangyahui01
 * @date: 12/17/24 4:30 PM
 */
public interface CouponCalculationService {
    ShoppingCart calculateOrderPrice(@RequestBody ShoppingCart cart);

    SimulationResponse simulateOrder(@RequestBody SimulationOrder cart);
}
